module.exports = {
    devServer: {
        overlay: {
            warnings: false,
            errors: false
        }
    },
    publicPath: process.env.NODE_ENV === "production"
        ? './'
        : '/'
    ,
    chainWebpack: (config) => {
        config.resolve.symlinks(true) // 修复热更新失效
    }

}